home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
ddx-mips.zip
/
MIPS4000.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-07
|
2KB
|
54 lines
/*
* $XConsortium$
*
* Copyright 1991 MIPS Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation, and that the name of MIPS not be used in advertising or
* publicity pertaining to distribution of the software without specific,
* written prior permission. MIPS makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* MIPS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL MIPS
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Header: mips4000.h,v 1.4 92/04/06 21:02:24 dd Exp $ */
#ifndef __DDX_MIPS4000_H
#define __DDX_MIPS4000_H
/* mmap information */
#define RS4000_FBMEM_PHYSADDR 0x40000000
#define RS4000_FBMEM_MMAPOFF 0x00000000
#define RS4000_FBMEM_MMAPSIZE (2048 * 1024)
#define RS4000_FBREG_PHYSADDR 0x60000000
#define RS4000_FBREG_MMAPOFF 0x10000000
#define RS4000_FBREG_MMAPSIZE (2048 * 1024)
/* default frame buffer resolution */
#define RS4000_VISW 1280 /* visible pixels per scan line */
#define RS4000_VISH 1024 /* scan lines */
#define RS4000_BPSL 1280 /* bytes per scan line (as mapped) */
/* shm keys and sizes */
#define RS4000_FBKEY 0x47425546
#define RS4000_FBSIZE (2048 * 1024)
#define RS4000_REGKEY 0x47524547
#define RS4000_REGSIZE (2048 * 1024)
#ifdef STANDALONE
/* RISC/os PROM mappings for VDR2 */
#define RS4000_FBREG_SA 0xe0200000 /* G300 */
#define RS4000_FBCUR_SA 0xe0300000 /* Bt431s */
#define RS4000_FBMEM_SA 0xe0800000 /* video RAM */
#endif
#endif /* __DDX_MIPS4000_H */